From: Florian Müllner Date: Thu, 17 Oct 2024 17:34:13 +0000 (+0200) Subject: style: Restore password entry width X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~194^2^2~3 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e44875eae0b9ea6c971c43148063fafec3cc442e;p=gnome-shell.git style: Restore password entry width Commit removed the fixed width that is used by polkit/keyring prompts, with the result that the entries now start at their natural size, and grow as text is entered. Restore the original behavior, but nest the style under .prompt-dialog-password-layout (polkit/keyring) to better differentiate it from entries under ..prompt-dialog-password-grid (mount operations). Fixes: 8d065b558e ("style: Clean up dialogs stylesheet to fix layout issues") Part-of: (cherry picked from commit ee053880716052b3a75209f3aad989917f65e30a) --- diff --git a/data/theme/gnome-shell-sass/widgets/_dialogs.scss b/data/theme/gnome-shell-sass/widgets/_dialogs.scss index 4136bfce5..5b1d1da75 100644 --- a/data/theme/gnome-shell-sass/widgets/_dialogs.scss +++ b/data/theme/gnome-shell-sass/widgets/_dialogs.scss @@ -115,6 +115,10 @@ .prompt-dialog-password-layout { spacing: $base_margin * 2; + + .prompt-dialog-password-entry { + width: 20em; + } } .prompt-dialog-error-label,